//
//  MCPersonInformationFooterView.m
//  TLYL
//
//  Created by MC on 2017/6/14.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import "MCPersonInformationFooterView.h"
@interface MCPersonInformationFooterView ()

@property (nonatomic,strong)UIButton * btn_Save;

@end

@implementation MCPersonInformationFooterView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createUI];
    }
    return self;
}

-(void)createUI{
    self.backgroundColor=[UIColor whiteColor];
    
    _btn_Save=[[UIButton alloc]init];
    _btn_Save.backgroundColor=[UIColor cyanColor];
    [_btn_Save setTitle:@"保存" forState:UIControlStateNormal];
    [self addSubview:_btn_Save];
    [_btn_Save mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.mas_bottom).offset(0);
        make.left.equalTo(self.mas_left).offset(50);
        make.right.equalTo(self.mas_right).offset(-50);
        make.height.mas_equalTo(40);
    }];
    
}

+(CGFloat)computeHeight:(id)info{
    
    return 100;
}

@end
